package com.leyou.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.leyou.common.constants.RegexPatterns;
import com.leyou.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * @author 14281
 */
@TableName("tb_user_detail")
@Data
@EqualsAndHashCode(callSuper = false)
public class UserDetail extends BaseEntity {
    @TableId(value = "user_id", type = IdType.INPUT)
    private Long userId;
    private String img;
    private String nickname;
    private String gender;
    private String birthday;
    private String address;
    private String job;
}